export const suc = (data: Object = {}, message: String = 'success') => ({
  code: 0,
  data,
  message
})

export const fail = (message: String = 'fail') => ({
  code: -1,
  message
})
